package com.woniu.client;


import com.woniu.config.FeignConfig;
import com.woniu.outlet.po.Progress;
import com.woniu.uitl.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "production",qualifier = "productionClient",configuration = FeignConfig.class)
public interface ProductionClient {

    @GetMapping("getProgressByPlanId")
    public ResponseResult<List<Progress>> getProgressByPlanId(@RequestParam("planId") Long planId);
}
